import Vue from 'vue'
import Router from 'vue-router'


//列表
const zcpz = r => require.ensure([], () => r(require('./components/zcpz.vue')), 'chunkname-zcpz');

//列表
const assetList = r => require.ensure([], () => r(require('../pages/assetList/assetList.vue')), 'chunkname-assetList');

//新建资产配置
const step = r => require.ensure([], () => r(require('../pages/step/step.vue')), 'chunkname-step');
//确认资产配置
// const stepSure = r => require.ensure([], () => r(require('../../pages/stepSure/stepSure.vue')), 'chunkname-stepSure');

//第一步
// const addAsset = r => require.ensure([], () => r(require('../../pages/addAsset/addAsset.vue')), 'chunkname-addAsset');
//第二步
// const questionnaireSure = r => require.ensure([], () => r(require('../../pages/questionnaireSure/questionnaireSure.vue')), 'chunkname-questionnaireSure');


Vue.use(Router)
export default new Router({
  mode:'history',
  routes: [
    {
      path: '/lgbCdn/zcpz/zcpz.html',
      name: 'zcpz',
      component: zcpz,
      meta: {
        title: '资产配置',
      },
    },
    {
      path: '/lgbCdn/zcpz/assetList/assetList',
      name: 'assetList',
      component: assetList,
      meta: {
        title: '资产配置列表',
      },
    },
    {
      path: '/lgbCdn/zcpz/step/step',
      name: 'step',
      component: step,
      meta: {
        title: '',
      },
    },
    // {
    //   path: '/lgbCdn/zcpz/step/stepSure',
    //   name: 'stepSure',
    //   component: stepSure,
    //   meta: {
    //     title: '确认资产配置',
    //   },
    // },
  ]
})
